﻿//创建时间: 2010-10-11
//创建作者: 李 城
//功能说明: 日志管理
//最后修改: 2010-10-11
using System;
using System.Collections.Generic;
using System.Text;

using TRPOP.Common;

namespace TRPOP.CMS.Model
{
    [Serializable]
    public class LogInfo
    {
        #region 私有变量
        private int m_intLogId = 0;
        private int m_intType = 0;
        private string m_strDetail = "";
        private DateTime m_datAddTime = StringExtension.NullDateTime;
        private int m_intAddUserId = 0;
        #endregion

        #region 成员函数

        /// <summary>
        ///  Id
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int LogId
        {
            get
            {
                return m_intLogId;
            }
            set
            {
                m_intLogId = value;
            }
        }

        /// <summary>
        ///  类型
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int Type
        {
            get
            {
                return m_intType;
            }
            set
            {
                m_intType = value;
            }
        }

        /// <summary>
        ///  内容
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string Detail
        {
            get
            {
                return m_strDetail;
            }
            set
            {
                m_strDetail = value;
            }
        }

        /// <summary>
        ///  记录时间
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public DateTime AddTime
        {
            get
            {
                return m_datAddTime;
            }
            set
            {
                m_datAddTime = value;
            }
        }

        /// <summary>
        ///  用户id
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int AddUserId
        {
            get
            {
                return m_intAddUserId;
            }
            set
            {
                m_intAddUserId = value;
            }
        }

        #endregion

    }
}

